85b833ec7617331763f09e0f48d4c53866f18aa7,activejdbc/src/test/java/org/javalite/activejdbc/BatchExecTest.java,BatchExecTest,shouldInsertAsBatch,#,38

Before Change


            int[] counts = Base.executeBatch(ps);

            the(counts.length).shouldBeEqual(2);
            the(counts[0]).shouldBeEqual(1);
            the(counts[1]).shouldBeEqual(1);

            List<Map> people = Base.findAll("select * from people order by name");

After Change


            int[] counts = Base.executeBatch(ps);

            the(counts.length).shouldBeEqual(2);
            the((counts[0] == 1) || (counts[0] == Statement.SUCCESS_NO_INFO)).shouldBeTrue(); //Oracle!!
            the((counts[1] == 1) || (counts[1] == Statement.SUCCESS_NO_INFO)).shouldBeTrue();

            List<Map> people = Base.findAll("select * from people order by name");